<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): Source/CPTPlotSymbol.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (iOS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_p_t_plot_symbol_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Source/CPTPlotSymbol.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_c_p_t_plot_symbol_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#import &lt;QuartzCore/QuartzCore.h&gt;</span>
<a name="l00003"></a>00003 
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a>;
<a name="l00007"></a>00007 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a>;
<a name="l00008"></a>00008 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_shadow.html" title="Immutable wrapper for various shadow drawing properties.">CPTShadow</a>;
<a name="l00009"></a>00009 
<a name="l00013"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731">00013</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731" title="Plot symbol types.">_CPTPlotSymbolType</a> {
<a name="l00014"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a8ff5c6532afe05954d0e4d6828bea178">00014</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a8ff5c6532afe05954d0e4d6828bea178" title="No symbol.">CPTPlotSymbolTypeNone</a>,      
<a name="l00015"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731ad73759c2e064a1f5a6df2d688566e6fd">00015</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731ad73759c2e064a1f5a6df2d688566e6fd" title="Rectangle symbol.">CPTPlotSymbolTypeRectangle</a>, 
<a name="l00016"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731ad22c3002e62675b9e9d72af7dcdfff81">00016</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731ad22c3002e62675b9e9d72af7dcdfff81" title="Elliptical symbol.">CPTPlotSymbolTypeEllipse</a>,   
<a name="l00017"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a2d07189388ec1f3752df9267626766a7">00017</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a2d07189388ec1f3752df9267626766a7" title="Diamond symbol.">CPTPlotSymbolTypeDiamond</a>,   
<a name="l00018"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a09c86c559919063451d4b298a5e80948">00018</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a09c86c559919063451d4b298a5e80948" title="Triangle symbol.">CPTPlotSymbolTypeTriangle</a>,  
<a name="l00019"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a9b01d456dac995b0b12d8e8cd184d1e8">00019</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a9b01d456dac995b0b12d8e8cd184d1e8" title="5-point star symbol.">CPTPlotSymbolTypeStar</a>,      
<a name="l00020"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a64460dea8941fc51fbdce57d551223e0">00020</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a64460dea8941fc51fbdce57d551223e0" title="Pentagon symbol.">CPTPlotSymbolTypePentagon</a>,  
<a name="l00021"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a9015d7af814116f3e65e7b71957e63d0">00021</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a9015d7af814116f3e65e7b71957e63d0" title="Hexagon symbol.">CPTPlotSymbolTypeHexagon</a>,   
<a name="l00022"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731ac0b0b460743b6e7771bd3c504b4d8137">00022</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731ac0b0b460743b6e7771bd3c504b4d8137" title="X symbol.">CPTPlotSymbolTypeCross</a>,     
<a name="l00023"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a9fdaa3634b97225f6ad22466741624fc">00023</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a9fdaa3634b97225f6ad22466741624fc" title="Plus symbol.">CPTPlotSymbolTypePlus</a>,      
<a name="l00024"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731ae8eb79c4a54916f7b500414381213ea1">00024</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731ae8eb79c4a54916f7b500414381213ea1" title="Dash symbol.">CPTPlotSymbolTypeDash</a>,      
<a name="l00025"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a0f0cbc193d0833a3c3d03dc87d89360e">00025</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a0f0cbc193d0833a3c3d03dc87d89360e" title="Snowflake symbol.">CPTPlotSymbolTypeSnow</a>,      
<a name="l00026"></a><a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a309cefcaf77d29cdb07ead34d6749945">00026</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#a9ba9b5aa30adef78cfd48cd7be5f5731a309cefcaf77d29cdb07ead34d6749945" title="Custom symbol.">CPTPlotSymbolTypeCustom</a>     
<a name="l00027"></a>00027 }
<a name="l00028"></a>00028 <a class="code" href="_c_p_t_plot_symbol_8h.html#af0167a61306e1078aa1441aa380743d9" title="Plot symbol types.">CPTPlotSymbolType</a>;
<a name="l00029"></a>00029 
<a name="l00030"></a><a class="code" href="interface_c_p_t_plot_symbol.html">00030</a> <span class="keyword">@interface </span><a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> : <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html">NSObject</a>&lt;<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html">NSCoding</a>, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCopying_Protocol/Reference/Reference.html">NSCopying</a>&gt; {
<a name="l00031"></a>00031     <span class="keyword">@private</span>
<a name="l00032"></a><a class="code" href="interface_c_p_t_plot_symbol.html#abed37a3e5ca0b8d1ca0afe6166ab545f">00032</a>     <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGSize.html">CGSize</a> <a class="code" href="interface_c_p_t_plot_symbol.html#abed37a3e5ca0b8d1ca0afe6166ab545f" title="The symbol size.">size</a>;
<a name="l00033"></a><a class="code" href="interface_c_p_t_plot_symbol.html#adf9301bc2f9ece5cdfba1e7c151662dd">00033</a>     <a class="code" href="_c_p_t_plot_symbol_8h.html#af0167a61306e1078aa1441aa380743d9" title="Plot symbol types.">CPTPlotSymbolType</a> <a class="code" href="interface_c_p_t_plot_symbol.html#adf9301bc2f9ece5cdfba1e7c151662dd" title="The symbol type.">symbolType</a>;
<a name="l00034"></a><a class="code" href="interface_c_p_t_plot_symbol.html#af97656cacb3f1dc31c6fb2b0f3b2b166">00034</a>     <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a> *<a class="code" href="interface_c_p_t_plot_symbol.html#af97656cacb3f1dc31c6fb2b0f3b2b166" title="The line style for the border of the symbol. If nil, the border is not drawn.">lineStyle</a>;
<a name="l00035"></a><a class="code" href="interface_c_p_t_plot_symbol.html#a33b1fe3c851abbfb2e64bf15fc0791db">00035</a>     <a class="code" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> *<a class="code" href="interface_c_p_t_plot_symbol.html#a33b1fe3c851abbfb2e64bf15fc0791db" title="The fill for the interior of the symbol. If nil, the symbol is not filled.">fill</a>;
<a name="l00036"></a>00036     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGPath/Reference/reference.html#//apple_ref/doc/c_ref/CGPathRef.html">CGPathRef</a> cachedSymbolPath;
<a name="l00037"></a><a class="code" href="interface_c_p_t_plot_symbol.html#a7fb7203d82b3912d2509bd153b656ced">00037</a>     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGPath/Reference/reference.html#//apple_ref/doc/c_ref/CGPathRef.html">CGPathRef</a> <a class="code" href="interface_c_p_t_plot_symbol.html#a7fb7203d82b3912d2509bd153b656ced" title="The drawing path for a custom plot symbol. It will be scaled to size before being drawn...">customSymbolPath</a>;
<a name="l00038"></a><a class="code" href="interface_c_p_t_plot_symbol.html#a0f893ab9a59ad9e197bb0908d83ee328">00038</a>     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> <a class="code" href="interface_c_p_t_plot_symbol.html#a0f893ab9a59ad9e197bb0908d83ee328" title="If YES, the even-odd rule is used to draw the symbol, otherwise the nonzero winding number rule is us...">usesEvenOddClipRule</a>;
<a name="l00039"></a>00039     CGLayerRef cachedLayer;
<a name="l00040"></a><a class="code" href="interface_c_p_t_plot_symbol.html#a59113d50ce63cb0dc1474e36497ab4f9">00040</a>     <a class="code" href="interface_c_p_t_shadow.html" title="Immutable wrapper for various shadow drawing properties.">CPTShadow</a> *<a class="code" href="interface_c_p_t_plot_symbol.html#a59113d50ce63cb0dc1474e36497ab4f9" title="The shadow applied to each plot symbol.">shadow</a>;
<a name="l00041"></a>00041 }
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGSize.html">CGSize</a> size;
<a name="l00044"></a>00044 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="code" href="_c_p_t_plot_symbol_8h.html#af0167a61306e1078aa1441aa380743d9" title="Plot symbol types.">CPTPlotSymbolType</a> symbolType;
<a name="l00045"></a>00045 <span class="keyword">@property</span> (nonatomic, readwrite, retain) <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a> *lineStyle;
<a name="l00046"></a>00046 <span class="keyword">@property</span> (nonatomic, readwrite, retain) <a class="code" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> *fill;
<a name="l00047"></a>00047 <span class="keyword">@property</span> (nonatomic, readwrite, copy) <a class="code" href="interface_c_p_t_shadow.html" title="Immutable wrapper for various shadow drawing properties.">CPTShadow</a> *shadow;
<a name="l00048"></a>00048 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGPath/Reference/reference.html#//apple_ref/doc/c_ref/CGPathRef.html">CGPathRef</a> customSymbolPath;
<a name="l00049"></a>00049 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> usesEvenOddClipRule;
<a name="l00050"></a>00050 
<a name="l00053"></a>00053 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)plotSymbol;
<a name="l00054"></a>00054 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)crossPlotSymbol;
<a name="l00055"></a>00055 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)ellipsePlotSymbol;
<a name="l00056"></a>00056 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)rectanglePlotSymbol;
<a name="l00057"></a>00057 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)plusPlotSymbol;
<a name="l00058"></a>00058 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)starPlotSymbol;
<a name="l00059"></a>00059 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)diamondPlotSymbol;
<a name="l00060"></a>00060 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)trianglePlotSymbol;
<a name="l00061"></a>00061 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)pentagonPlotSymbol;
<a name="l00062"></a>00062 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)hexagonPlotSymbol;
<a name="l00063"></a>00063 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)dashPlotSymbol;
<a name="l00064"></a>00064 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)snowPlotSymbol;
<a name="l00065"></a>00065 +(<a class="code" href="interface_c_p_t_plot_symbol.html" title="Plot symbols for CPTScatterPlot.">CPTPlotSymbol</a> *)customPlotSymbolWithPath:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGPath/Reference/reference.html#//apple_ref/doc/c_ref/CGPathRef.html">CGPathRef</a>)aPath;
<a name="l00067"></a>00067 
<a name="l00070"></a>00070 -(void)renderInContext:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a>)theContext atPoint:(<a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)center scale:(CGFloat)scale alignToPixels:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a>)alignToPixels;
<a name="l00071"></a>00071 -(void)renderAsVectorInContext:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a>)theContext atPoint:(<a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)center scale:(CGFloat)scale;
<a name="l00073"></a>00073 
<a name="l00074"></a>00074 <span class="keyword">@end</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_c_p_t_plot_symbol_8h.html">CPTPlotSymbol.h</a>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
